package cn.bdqn.witcity.mapper;

import cn.bdqn.witcity.entity.Menu;
import cn.bdqn.witcity.entity.vo.MenuVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MenuMapper {
    List<Menu> getAllMenu();
    List<Menu> getAllChildMenu(Integer parentId);
    List<Menu> getMenuByRole(String roleName);
    List<Menu> getAllMenuByPage(MenuVo menuVo);
    int getMenuCount(MenuVo menuVo);
    //查询所有父级菜单
    List<Menu> getAllParentMenu();


}
